package com.wlz.array;

import com.google.common.collect.Lists;

import java.util.*;

/**
 * @author： wlz
 * @Date 2020/7/22 11:28
 * @description： TODO
 * @version: 1.0
 */
public class ArrayListTest {

    public static void main(String[] args) {

        Map<String,String> map = new HashMap<>();
        map.put("11", "dfad");
        map.put("11", "dfasd");


        Map<String,String> hashMap = new IdentityHashMap<>();
        hashMap.put("11", "dfad");
        hashMap.put("11", "dfasd");


        String path = "";

        


        List<String> list = arrayList();

        List<List<String>> partition = Lists.partition(list, 100);

        System.out.println(partition);
    }

    public static List<String> arrayList() {
        List<String> list = new ArrayList<>();
        for (int i = 1; i < 22; i++) {
            list.add("aa"+i);
        }

        return list;

    }

}
